package cn.mandifal.mapper;

import cn.mandifal.pojo.DpGoodsDesc;
import cn.mandifal.pojo.DpGoodsDescExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DpGoodsDescMapper {
    int countByExample(DpGoodsDescExample example);

    int deleteByExample(DpGoodsDescExample example);

    int deleteByPrimaryKey(Long goodsId);

    int insert(DpGoodsDesc record);

    int insertSelective(DpGoodsDesc record);

    List<DpGoodsDesc> selectByExample(DpGoodsDescExample example);

    DpGoodsDesc selectByPrimaryKey(Long goodsId);

    int updateByExampleSelective(@Param("record") DpGoodsDesc record, @Param("example") DpGoodsDescExample example);

    int updateByExample(@Param("record") DpGoodsDesc record, @Param("example") DpGoodsDescExample example);

    int updateByPrimaryKeySelective(DpGoodsDesc record);

    int updateByPrimaryKey(DpGoodsDesc record);
}